#pragma once
#include "mytypes.h"

namespace poly
{
	// represents a convex simple polygon
	class Polygon : public std::vector<float3>
	{
	public:
		Polygon transform( float44 const & ) const;
		float area() const;
		float3 center() const;
		float33 momentOfInertia() const;
	};
}
